package com.gitee.feizns.utils.reflect;

import java.util.Arrays;

/**
 * @author feizns
 * @since 2019/5/15
 */
public abstract class ClassUtils {

    /**
     * 获取类型数组
     * @param params
     * @return
     */
    public static final Class<?>[] getClasses(Object... params) {
        return Arrays.stream(params).map(Object::getClass).toArray(Class[]::new);
    }

}
